package com.ynet.middleground.user.bean;

import com.ynet.core.common.BaseReqObjPager;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @program: 2019-10-12_userCenter
 * @description: 员工机构、部门、角色关系查询请求
 * @author: DaiGaoLe
 * @create: 2019-10-29 17:04
 **/
@Data
@ApiModel(value = "员工机构、部门、角色关系查询请求", description = "员工机构、部门、角色关系查询请求")
public class QueryOrganRoleRelationshipReq extends BaseReqObjPager {
    private static final long serialVersionUID = -1492489991486657860L;
    // 用户id（非必输），角色id（非必输）,部门id/机构id 。
    /**
     * 角色id
     */
    @ApiModelProperty(value = "角色id", notes = "角色id", dataType = "Integer")
    private Integer roleId;

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id", notes = "用户id", dataType = "Integer")
    private Integer userId;

    /**
     * 机构/部门id
     */
    @ApiModelProperty(value = "机构/部门id", notes = "机构/部门id", dataType = "Integer")
    private Integer organizationalId;

    /**
     * 查询渠道
     */
    @ApiModelProperty(
            value = "查询渠道" +
                    "支持传多个渠道，以英文逗号隔开，例：渠道1,渠道2",
            notes = "查询渠道" +
                    "支持传多个渠道，以英文逗号隔开，例：渠道1,渠道2",
            dataType = "String")
    private String queryChannel;

    @ApiModelProperty(value = "业态公司id", notes = "业态公司id")
    private Integer formatId;
}
